-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cross platform support (e.g. with CMake) #77
base: master
Are you sure you want to change the base?
Conversation
Prepare for Superbuild.
Fix cmake Superbuild.
MSVC WCHAR -> utf8 (madler#62)
Affect installation folder name.
Use 644 instead of 755 for files.
CMake support for MSVC and MinGW.
Great to see these changes - let me know anything I can do to help them get tested. |
I assume this PR matches the binaries at https://github.com/neurolabusc/pigz/releases/tag/v2.4.win? I gave them a try, and I noticed that renaming it to The older 2.3-based Windows builds fixes this like so: kjk@8869ee6 |
@madler I appreciate this is open source. However, I do think this PR makes it easier to compile pigz on Windows and supports Windows non-latin characters. It also eases building for the accelerated CloudShare zlib and zlib-ng. It would be great having this functionality in the main branch. The stall in having this PR reviewed is causing other PRs to be pulled. |
This pull request resolves issue.
Caveats: files created by this tool store non-Latin characters in the FNAME tag using UTF8 (not Windows native UTF16). Names stored in the FNAME tag are interpreted as UTF8 characters. This mimics the behavior of pigz and gzip on Unix. Therefore, files created in one operating system can be extracted to another. None of these tools strictly conforms to rfc1952 which forbids non-Latin characters in FNAME. This probably reflects the fact that the gzip format was designed before UTF8 with its clever backward compatibility. Be aware that 7zip will create scrambled names for non-Latin characters, regardless of whether these were generated by pigz, gzip or 7zip itself.